//
//  BQwelfareCollectionReusableView.m
//  Adorable_Things
//
//  Created by ybq on 16/1/15.
//  Copyright © 2016年 Banana Inc. All rights reserved.
//

#import "BQwelfareCollectionReusableView.h"

@implementation BQwelfareCollectionReusableView

- (void)awakeFromNib {
    // Initialization code
}

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _imageView = [[UIImageView alloc] initWithFrame:frame];
        [self addSubview:_imageView];
    }
    return self;
}

- (void)setModel:(BQAdsModel *)model {
    _model = model;
    [_imageView sd_setImageWithURL:[NSURL URLWithString:model.pic_url] placeholderImage:nil];
}

@end
